package cn.iocoder.yudao.module.product.controller.app.category.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "APP - 商品分类请求 Request VO")
@Data
public class AppCategoryReqVO {
    @Schema(description = "起始排序索引", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "起始排序索引不能为空")
    private Integer startSort;

    @Schema(description = "结束排序索引", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "结束排序索引不能为空")
    private Integer endSort;
}
